package main

import "fmt"

func main() {
	s := "hello world"

	for i, v := range s {
		if i == 5 {
			break
		}
		fmt.Printf("%d %c\n", i, v)
	}
	for i := 1; i < 10; i++ {
		for j := 1; j <= i; j++ {
			fmt.Printf("%d * %d = %-4d", j, i, i*j)
		}
		fmt.Println()
	}
}
